//
//  ApplyOpenInvoiclistCell.m
//  NtoccShipper
//
//  Created by mac on 2020/1/3.
//  Copyright © 2020 zhuchongjin. All rights reserved.
//

#import "ApplyOpenInvoiclistCell.h"
@interface ApplyOpenInvoiclistCell()
@property (nonatomic,strong) CJLabel *labPayType;
@property (nonatomic,strong) CJLabel *labName;
@property (nonatomic,strong) CJLabel *labTaxRegistrationNumber;
@property (nonatomic,strong) CJLabel *labHeader;
@end
@implementation ApplyOpenInvoiclistCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setCellInfoWithModel:(ApplyOpenInvoiclistModel *)model{
    
    self.labPayType.text = model.typeName;
    self.labName.text = model.receiverUserName;
    self.labTaxRegistrationNumber.text = model.taxRegistrationNumber;
    self.labHeader.text = model.invoiceTitle;
}
- (void)btnApplyOpenInvoicAction{
    if (self.blockApply) {
        self.blockApply(@"");
    }
}
- (void)btnChangeApplyOpenInvoicAction{
    if (self.blockChange) {
        self.blockChange(@"");
    }
}
@end
